/*
 * Project: BoboDesignPattern
 * 
 * File Created at 2016年7月5日
 * 
 * Copyright 2012 Greenline.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Greenline Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Greenline.com.
 */
package obsver;

/**
 * @Type Do
 * @Desc
 * @author boboge
 * @date 2016年7月5日
 * @Version V1.0
 */
public class Do {

    public void xx() {
        boolean aa = false;
        if (!aa) {
            throw new RuntimeException("aa");
        }

    }

    public static void main(String[] args) {
        // ContentUpdateCatcher catcher = new ContentUpdateCatcher();
        // Subscriber subscriber = new Subscriber(catcher);
        // Subscriber subscriber2 = new Subscriber(catcher);
        // catcher.add(subscriber);
        // catcher.add(subscriber2);
        // catcher.notifyUser();
        try {
            Do do1 = new Do();
            do1.xx();
        } catch (Exception e) {
            e.printStackTrace();
            System.out.println(e.getLocalizedMessage());
        }

        System.out.println(1111);

    }
}
